package com.topboya.officeuser.service;

import com.topboya.officeuser.entity.BoyaSalesInfo;
import com.topboya.officeuser.entity.Office;

import java.util.List;
import java.util.Map;

/**
 * @Author boya
 * @Date 2020/8/8 18:37
 * @Version 1.0
 **/
public interface OfficeService {
    int insert(Office office);

    int update(Office office);

    int deleteOfficeAndUser(String id);

    Office select(String id);

    List<Office> selectAllPageAndIf(Map<String, Object> mapOffice,Office office);

    List<Office> getAllOfficeAndUserByTree();

    void insertBoyaSalesInfoBatch(List<BoyaSalesInfo> boyaSalesInfoList);
}
